home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
addbad10.zip
/
ADDBAD.DOC
< prev
next >
Wrap
Text File
|
1992-08-15
|
2KB
|
52 lines
ADDBAD v1.0
A WildCat! 3.5x Public Domain Utility
Released into the Public Domain by Tim Kilgore
USE AT YOUR OWN RISK
AddBad is a simple little utility that adds the name of an uploaded file
to BADFILES.LST. It doesn't do much, but it will help to prevent duplicate
uploads.
The program, as currently compiled, will NOT add *.GIF files to the listing
of reserved file names. I've encounted a few cases where a perfectly
good archive could not be uploaded because a GIF with the same file name
existed in the BADFILES.LST.
Add the following line(s) to SCANFILE.BAT _after_ you've done your virus
checking -
CD\WC30
AddBad %1
Once executed, AddBad will strip the path and extension from the file spec
and will write the file name with a "*" wildcard extension to BADFILES.LST.
Here's an example or three to clear the air -
%1 = C:\GAMES\FUNGAME.ZIP
AddBad writes FUNGAME.* to BADFILES.LST
%1 = C:\GIF\HOOTERS.GIF
AddBad aborts (GIF's are skipped)
%1 = C:\WCUTIL\ADDBAD.ARJ
AddBad writes ADDBAD.* to BADFILES.LST
AddBad should be executed from the main WildCat! subdirectory. If you do
not, AddBad will create a new BADFILES.LST in the current subdirectory and
this is rarely desired.
I've included the source (ADDBAD.BAS) to allow you to modify the program
to suit your individual needs. It's hardly brilliant, but it works. Here
are the needed compiler switches to create a stand-alone executable -
Compile as - bc addbad /E/O;
Enjoy!
Tim Kilgore
Planet ><
314-443-0319 v.32/HST